﻿using System.Collections.Generic;
using System.Web.Mvc;
using Nop.Web.Framework;
using Nop.Web.Framework.Mvc;

namespace Nop.Web.Models.Catalog
{
    public partial class SearchBoxFrontModel : BaseNopModel
    {
        public SearchBoxFrontModel()
        {
            this.AvailableCategories = new List<SelectListItem>();
            PagingFilteringContext = new CatalogPagingFilteringModel();
            AvailableRegions = new List<SelectListItem>();
        }
        public CatalogPagingFilteringModel PagingFilteringContext { get; set; }

        public bool AutoCompleteEnabled { get; set; }
        public bool ShowProductImagesInSearchAutoComplete { get; set; }
        public int SearchTermMinimumLength { get; set; }
        public int Cid { get; set; }
        public IList<SelectListItem> AvailableCategories { get; set; }

        [AllowHtml]
        public string Pf { get; set; }
        [AllowHtml]
        public string Pt { get; set; }

        [NopResourceDisplayName("Search.SearchInDescriptions")]
        public bool Sid { get; set; }

        public bool HasRatings { get; set; }
        public bool InStock { get; set; }
        public int CurrentRegionId { get; set; }
        public IList<SelectListItem> AvailableRegions { get; set; }

        public string UserDefaultRegions { set; get; }
    }
}